<template>
<div>点击次数为：{{counterStore.count}}，当前次数为：{{counterStore.oddOrEven}}</div>
</template>
<script setup>
import useCounterStore from  "@/stores/counter.js"
const counterStore=useCounterStore()
</script>